package net.qhzw.vip.qiyu.feign;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import net.qhzw.vip.qiyu.entity.Shop;
import net.qhzw.vip.qiyu.result.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "lease-server", contextId = "Shop", configuration = OAuthFeignConfig.class)
@Api(tags = "商铺管理")
public interface ShopFeignClient {


    @ApiOperation(value = "根据id查询商铺")
    @GetMapping("/sys/shop/{shopId}")
    JsonResult<Shop> findById(@PathVariable Long shopId);


}
